import xlrd

xlsx = xlrd.open_workbook('./resources/体温测量登记表.xls')

"""
通过sheet名查找
通过索引查找
"""
table = xlsx.sheet_by_index(0)

print("第0行1列单元格的值：{}".format(table.cell_value(0, 1)))

nrows = table.nrows
print('表格一共有：{}行'.format(nrows))

ncols = table.nrows
print('表格一共有：{}列'.format(ncols))

name_list = []

for i in range(nrows):
    name_list.append(table.cell_value(i, 0))

print(name_list)


